<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
          <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
          	  <%@ page import="java.text.SimpleDateFormat" %>
<%
	java.lang.String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
	<style type="text/css">
		table.sp_table thead tr th,table.sp_table tbody tr td{
			line-height: 2;
			text-align: center;
		}
	</style>
 <form class="form-horizontal"  method="post" id="myform" name="myform" enctype="multipart/form-data" action="<%=path%>/abroad/editor.do" >
 		<input type="hidden" name="user_id" value="${obj.user_id } " />
		<table border= "1" width= "100%" class="user-infomation-table">
		
					<tr>
				        <td colspan="4" style="background-color: #516984;line-height: 2;color: #fff;padding-left: 15px;">
							用户详情。
				        </td>
				     </tr>
				     
				     
				     <tr>
						<td  width="10%">姓名</td>
						<td colspan="3" width="90%">
							${obj.user_name }
						</td>
				     </tr>
				       <%-- <tr>
						<td  width="10%">电话</td>
						<td colspan="3" width="90%">
							${obj.user_tel }
						</td>
				     </tr> --%>
				     
				     
				     
				     <tr>
						<td  width="10%">email</td>
						<td colspan="3" width="90%">
							${obj.user_email }
						</td>
				     </tr>
				     
				     <tr>
						<td  width="10%">职务</td>
						<td colspan="3" width="90%">
							${obj.user_identityCount }
						</td> 
				     </tr>
				</table>
				
				
				
				<div class="tab-content" >
				<div class="content-detail" style="height:20px;">
					
				</div>
				
				</div>
					<div style="background-color: #516984;line-height: 2;color: #fff;padding-left: 15px;">
							poster记录
					</div>
				<table border= "1" width= "100%" class="sp_table">
								<thead>
										
									<tr>
										<th width="20%">序号</th>
										<th width="20%">poster状态</th>
										<th width="20%">poster意见</th>
										<th width="20%">poster名</th>
										<th width="20%">上传时间</th>
									</tr>
								</thead>
								<tbody id="c_tbody">
								<c:forEach  items="${poster }" var="c" varStatus="h">
								<tr>
									<td>${h.index+1 } </td>
									<c:if test="${c.Accessory_zt =='1' }">
									<td >审批中</td>
									</c:if>
									<c:if test="${c.Accessory_zt =='2' }">
									<td  >拒绝</td>
									</c:if>
									<c:if test="${c.Accessory_zt =='3' }">
									<td >通过</td>
									</c:if>
									<td>${c.Accessory_con }</td>
									<td><a target="_blank" href="/accessory/${c.Accessory_url}">${c.Accessory_name}</a></td>
									<td>${c.addTime }</td>
								</tr>
								</c:forEach>
								</tbody>
							</table>
							
							<div class="tab-content" >
				<div class="content-detail" style="height:20px;">
					
				</div>
				
				</div>
							<div style="background-color: #516984;line-height: 2;color: #fff;padding-left: 15px;">
							摘要记录
							</div>
					<table border= "1" width= "100%" class="sp_table">
								<thead>
										
									<tr>
										<th width="20%">序号</th>
										<th width="80%">摘要名</th>
									</tr>
								</thead>
								<tbody id="c_tbody">
								<c:forEach  items="${list }" var="z" varStatus="h">
								<tr>
									<td>${z.index+1 } </td>
									<td style="text-align: left;padding-left:40px;"><a target="_blank" href="/accessory/${z.Accessory_url}">${z.Accessory_name}</a></td>
								</tr>
								</c:forEach>
								</tbody>
							</table>
							
				</form>
</body>
<script>
$(function(){
	$('.content-part-right').on('click','.preservation',function(){
   		
		$('#myform').submit();
		//var teacher_number=$(this).attr('nc_date');
   		
   	});
	}
)
</script>
</html>